package com.cai.xiaobai.entity.VO.fromInfo.getFromInfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cai.xiaobai.controller.AnswerOptionContentController;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class GetFromInfoVO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "问题的类型1单选 2多选 3填空")
    private Integer questionType;

    @Schema(description = "如果这个问题有选项的话")
    private List<OptionInfoVO> optionList;

    @Schema(description = "问题内容")
    private String questionName;

    @Schema(description = "问题描述")
    private String questionDescribe;

    @Schema(description = " 是否非必填 0非必填 1必填")
    private Boolean questionFlag;

    @Schema(description = "答案数据")
    private String answer;

    @Schema(description = "答案数据")
    List<AnswerOptionContentController> ansList;


}
